{include file="include:header" /}

<body>
	{include file="include:nav" /}
	<!-- 用户中心 -->
	<div class="user-center wrap1920">
		<div class="wrap1200 user-center-con order-operation">
			{include file="user:usernav" /}
			<!-- 我的咨询 -->
			<div class="user-right-con fl">
				<h2>待付款</h2>
				<div class="my-order">
					<table>
						<tr>
							<th>订单编号</th>
							<th>订单名称</th>
							<th>订单金额/元</th>
							<th>下单时间</th>
							<th>订单状态</th>
							<th>操作</th>
						</tr>
						{volist name="list" id="v"}
						<tr>
							<td>{$v['o_no']}</td>
							<td>{$v['o_type_id']|product_name}</td>
							<td>¥{$v['o_money']}</td>
							<td>{$v['o_addtime']}</td>
							<td>
								{if condition="$v['o_state'] eq 1"}
									待付款
								{elseif condition="$v['o_state'] eq 2"/}
									已支付
								{elseif condition="$v['o_state'] eq 3"/}
									已服务
								{elseif condition="$v['o_state'] eq 4"/}
									已失效
								{else/}
									转账支付确认中
								{/if}

							</td>
							<td>
								{if condition="$v['o_state'] eq 1"}
									<a  class="remove-order cancel-btn apply-for" href="javascript:;" value="{$v['o_no']}" name="1">取消订单</a>
									<a class="go-pay" href="{:url('/service/order_pay',array('o_no'=>$v['o_no']))}">立即付款</a>
								{/if}
							</td>
						</tr>
						{/volist}
					</table>
				</div>
				<div class="page_wrap">
					<div class="pagination">
						{$page}
					</div>
				</div>
			</div>
		</div>
	</div>
	{include file="include:footer" /}
</body>

</html>
{include file="include:js" /}